package com.opesoft.fw.mvc.taglib;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.Tag;

public class Password extends InputBase
{
	public int doStartTag() throws JspException
	{
		return Tag.EVAL_BODY_INCLUDE;
	}

	public int doEndTag() throws JspException
	{
		String html="<input type=\"password\"";
		if(name!=null) html+=this.htmlProprty("name",this.name);
		if(other!=null) html+=" "+other;
		html+=">";

		this.write(html);

		return Tag.EVAL_PAGE;
	}
}
